import request from '@/utils/request'
import { praseStrEmpty } from "@/utils/ruoyi";

//创建钱包
export function addWallet(data) {
    return request({
      url: '/ganxin/wallet/add',
      method: 'post',
      data: data
    })
  }

//查询钱包信息
export function getWallet(query) {
    return request({
      url: '/ganxin/wallet/get',
      method: 'get',
      params: query
    })
  }

//更改支付宝信息
export function updateWallet(data) {
    return request({
      url: '/ganxin/wallet/update',
      method: 'post',
      data: data
    })
  }